@import 'global.css';


.photoIndexBox {
  width:1200px;
  height:auto;
  margin:0px auto;
  margin-top:30px;
  margin-bottom:30px;
}

.photoIndexBox .photoItemBox {
  width:100%;
  height:auto;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
}

.photoIndexBox .photoItemBox .photoItem {
    width:170px;
    height:240px;
    background:#fff;
    flex: 0 0 30%;
    box-shadow: 0 2px 12px 0 rgba(0,0,0,.1);
    border-radius:5px;
    position: relative;
    overflow: hidden;
    float:left;
    margin-bottom:30px;
}

.photoIndexBox .photoItemBox .photoItem .photoPhoto {
  width:100%;
  height:240px;
  background:#ccc;
}

.photoIndexBox .photoItemBox .photoItem .photoPhoto img {
  object-fit:cover;
  height:100%;
  width:100%;
}

.photoIndexBox .photoItemBox .photoItem .photoName {
  width:100%;
  height:50px;
  background-color:rgba(0,0,0,0.5);
  position: absolute;
  text-align:center;
  line-height:50px;
  color:#fff;
  letter-spacing: 2px;
  bottom:0px;
}
